.PHONY:all
all:udpserver udpclient

udpserver:udpserver.cpp
	g++ -o udpserver udpserver.cpp -std=c++11 
udpclient:udpclient.cpp
	g++ -o udpclient udpclient.cpp -lpthread -std=c++11

.PHONY:clean
clean:
	rm -f udpserver udpclient